package so.bookFromLibrary;

import so.GeneralSystemOperation;
import android.content.Context;
import android.database.Cursor;
import domain.BookFromLibrary;

public class ReturnBooksFromLibrary extends GeneralSystemOperation {
	public ReturnBooksFromLibrary(Context context) {
		super(context);
	}

	@Override
	protected Object doInBackground(Object... params) {
		BookFromLibrary bfl = (BookFromLibrary) params[0];
		Cursor cursor = dbHandler.fetch(bfl);
		toastMessage = "Returned books from lib";
		return cursor;
	}
}
